package cate.common.table.res.treasureturntable.row;

import cate.common.table.EExcelNoteField;
import cate.common.table.EExcelRowClass;
import cate.common.table.ERow;
import cate.common.util.random.RWItem;

@EExcelRowClass
public class TreasureTurntableGroupRow extends ERow implements RWItem {
    @EExcelNoteField(fieldName = "奖励组")
    public int group;

    @EExcelNoteField(fieldName = "礼包ID")
    public int dropId;

    @EExcelNoteField(fieldName = "概率")
    public double weight;

    @EExcelNoteField(fieldName = "数量")
    public boolean isUnique;

    @EExcelNoteField(fieldName = "位置")
    public byte pos;

    @Override
    public double getWeight() {
        return weight;
    }
}
